package cn.com.cennavi.dataToTmc;

public class LaneDataBean {
	public String difPointId;
	public String lonlat;
	public String straightAngle;
	public String difPointDirClass;
	public String trafficDir;
	public String length_speed_seq_bef;
	public String length_speed_seq_aft;
	public String total_length;
	public String bef_length;
	public String after_length;
	public String roadClass;
	public String dateTime;

	public static LaneDataBean parseLine(String line) {
		String[] arr = line.split(",");
		if (arr.length == 12) {
			LaneDataBean data = new LaneDataBean();
			data.difPointId = arr[0];
			data.lonlat = arr[1];
			data.straightAngle = arr[2];
			data.difPointDirClass = arr[3];
			data.trafficDir = arr[4];
			data.length_speed_seq_bef = arr[5];
			data.length_speed_seq_aft = arr[6];
			data.total_length = arr[7];
			data.bef_length = arr[8];
			data.after_length = arr[9];
			data.roadClass = arr[10];
			data.dateTime = arr[11];
			return data;
		}
		return null;
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
